package com.beiing.tianshuai.tianshuai.entity;

import java.util.List;

/**
 * Created by Jinda Yang on 2018/4/24.
 * Description :
 * 票务信息详情
 * 包含门票的库存、描述、价格、类别（与之对应的价格和库存数量）、缩略图
 */
public class TicketSkuBean {

    /**
     * 最低价格
     */
    private double minPrice;

    /**
     * 最大价格
     */
    private double maxPrice;

    /**
     * 缩略图地址
     */
    private String thumbImg;

    /**
     * 总库存数量
     */
    private int totalQuantity;

    /**
     * 类型列表
     */
    private List<TicketTypeBean> ticketTypeBeanList;

    public double getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(double minPrice) {
        this.minPrice = minPrice;
    }

    public double getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(double maxPrice) {
        this.maxPrice = maxPrice;
    }

    public String getThumbImg() {
        return thumbImg;
    }

    public void setThumbImg(String thumbImg) {
        this.thumbImg = thumbImg;
    }

    public int getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(int totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public List<TicketTypeBean> getTicketTypeBeanList() {
        return ticketTypeBeanList;
    }

    public void setTicketTypeBeanList(List<TicketTypeBean> ticketTypeBeanList) {
        this.ticketTypeBeanList = ticketTypeBeanList;
    }

    private class TicketTypeBean {

        private String typeName;
        private int quantity;
        private double price;
        private String thumbImg;
        private String description;

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getThumbImg() {
            return thumbImg;
        }

        public void setThumbImg(String thumbImg) {
            this.thumbImg = thumbImg;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }
}
